<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>菜单列表</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<style>
		body,div,table {
			font-family: inherit;
			font-size: 12px;
			margin-top: 5px;
		}
	</style>
  </head>
  <body> 
<br/>
<hr  color="#999999" size="2px"/>
 <fieldset>
<legend >菜单列表</legend>

<table width="100%" align="center" border="0" cellpadding="0" cellspacing="0">
  <tr>
  	<td>序号</td>
    <td>名称</td>
    <td>菜系</td>
    <td>类型</td>
    <td>材料</td>
    <td>口味类型</td>
    <td>制作工艺</td>
    <td>器皿</td>
    <td>制作时间</td>
    <td>是否上架</td>
    <td>禁忌</td>
    <td>推荐理由</td>
    <td>季节</td>
    <td>小图片</td>
    <td>大图片</td>
    <td>最高价格</td>
    <td>最低价格</td>
    <td>折扣</td>
    <td>上架价格</td>
    <td align="center">
      	操作
    </td>
  </tr>  
	<s:iterator value="billoffares">
	<tr>
		<td><s:property value="id"/></td>
	    <td><s:property value="foodname"/></td>
	    <td><s:property value="cuisinetype"/></td>
	    <td><s:property value="foodtype"/></td>
	    <td><s:property value="material"/></td>
	    <td><s:property value="dotype"/></td>	    
	    <td><s:property value="dotype"/></td>
	    <td><s:property value="dodate"/></td>
	    <td><s:property value="issale"/></td>
	    <td><s:property value="tabu"/></td>	    
	    <td><s:property value="tabu"/></td>
	    <td><s:property value="isslack"/></td>
	    <td><s:property value="bigfoodimg"/></td>
	    <td><s:property value="bigfoodimg"/></td>
	     <td>最高价格</td>
	    <td>最高价格</td>
	    <td>最低价格</td>
	    <td>折扣</td>
	    <td>上架价格</td>
	    <td align="center">
	      <a href="merchant/merchant_issuecarte_add.jsp">添加</a>&nbsp;&nbsp;<a href="getBilloffareUpdate-<s:property value="id"/>.action">修改</a>&nbsp;&nbsp;<a href="#" onclick="delObj(this,'delBilloffare-<s:property value="id"/>.action');">删除</a>&nbsp;&nbsp;<a href="getBilloffareShow-<s:property value="id"/>.action">查看</a>
	    </td>
	 </tr>
	</s:iterator>
</table>
</fieldset>
</body>
</html>
<script type="text/javascript">
<!--
	function delObj(obj,urls){
		if(confirm('您确定删除吗？')){ 
			obj.href = urls;
			return true;
		}else 
			return false;
	}
//-->
</script>
